﻿using EM.OA.DataModel.DBModel;
using EM.OA.WebCommon.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection;
using System.Web;
namespace EM.OA.Portal.Models
{
    public class WebMessageModels : BaseViewModel
    {
        /// <summary>
        /// 短消息ID
        /// </summary>		
        [Display(Name = "短消息ID")]
        public Guid WebMessageID { get; set; }
        /// <summary>
        /// 短消息内容
        /// </summary>		
        [Display(Name = "短消息内容")]
        public string Content { get; set; }
        /// <summary>
        /// 类别
        /// </summary>		
        [Display(Name = "类别")]
        public int Kind { get; set; }
        /// <summary>
        /// 目标地址
        /// </summary>		
        [Display(Name = "目标地址")]
        public string TargetURL { get; set; }
        /// <summary>
        /// 接收人
        /// </summary>		
        [Display(Name = "接收人")]
        public Guid ReceiverID { get; set; }
        /// <summary>
        /// 接收（阅读）时间
        /// </summary>		
        [Display(Name = "接收（阅读）时间")]
        public DateTime ReadTime { get; set; }
        /// <summary>
        /// 0=未读 1=已读
        /// </summary>		
        [Display(Name = "状态")]
        public bool ReadState { get; set; }

    }
}